spectrum_windows Module



Interfaces

interface

  • public pure function window_function(this, bin) result(rst)

    Evaluates the window function.

    Arguments

    Type IntentOptional Attributes Name
    class(window), intent(in) :: this

    The window object.

    integer(kind=int32), intent(in) :: bin

    The index or bin number [0, n], where n is the window size.

    Return Value real(kind=real64)

    The function value.


Derived Types

type, public, extends(window) ::  blackman_harris_window

Defines a Blackman-Harris window.

Read more…

Components

Type Visibility Attributes Name Initial
integer(kind=int32), public :: size = 0

The window size.

Type-Bound Procedures

procedure, public :: evaluate => bhw_eval

type, public, extends(window) ::  flat_top_window

Defines a flat-top window.

Read more…

Components

Type Visibility Attributes Name Initial
integer(kind=int32), public :: size = 0

The window size.

Type-Bound Procedures

procedure, public :: evaluate => ftw_eval

type, public, extends(window) ::  hamming_window

Defines a Hamming window.

Read more…

Components

Type Visibility Attributes Name Initial
integer(kind=int32), public :: size = 0

The window size.

Type-Bound Procedures

procedure, public :: evaluate => hamming_eval

type, public, extends(window) ::  hann_window

Defines a Hann window.

Read more…

Components

Type Visibility Attributes Name Initial
integer(kind=int32), public :: size = 0

The window size.

Type-Bound Procedures

procedure, public :: evaluate => hann_eval

type, public, extends(window) ::  rectangular_window

@brief Defines a rectangular window. Defines a rectangular window.

Components

Type Visibility Attributes Name Initial
integer(kind=int32), public :: size = 0

The window size.

Type-Bound Procedures

procedure, public :: evaluate => rw_eval

type, public, extends(window) ::  welch_window

Defines a Welch window.

Read more…

Components

Type Visibility Attributes Name Initial
integer(kind=int32), public :: size = 0

The window size.

Type-Bound Procedures

procedure, public :: evaluate => welch_eval

type, public ::  window

Defines the structure of a window.

Components

Type Visibility Attributes Name Initial
integer(kind=int32), public :: size = 0

The window size.

Type-Bound Procedures

procedure(window_function), public, deferred, pass :: evaluate